package com.chen.blue.domain.model.business;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 赛项表
 * </p>
 *
 * @author CLT
 * @since 2024-06-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("service_competition_item")
public class CompetitionItemModel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 赛事ID
     */
    private Long competitionId;

    /**
     * 赛项名称
     */
    private String itemName;

    /**
     * 专业大类
     */
    private String category;

    /**
     * 比赛方式
     */
    private String raceType;

    /**
     * 赛道
     */
    private String track;

    /**
     * 负责部门
     */
    private String deptCharge;

    /**
     * 主办方
     */
    private String organizers;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否禁用（0禁用1启用）
     */
    private Boolean status;

    @TableField(fill = FieldFill.INSERT)
    private String creator;

    private Date createTime;

    @TableField(fill = FieldFill.UPDATE)
    private String updater;

    private Date updateTime;

    @TableLogic
    private Boolean deleted;


}
